<template>
	<view class="app">
		<numScroll :num="Amount"/>
		<input type="text" maxlength='4' v-model="Amount" placeholder="输入四位数" style="width: 700rpx;margin: 0 auto;"/>
	</view>
</template>

<script>
	import NumScroll from "@/components/num-scroll.vue"
	export default {
		components:{NumScroll},
		data(){
			return {
				Amount:''
			}
		},
		
	}
</script>

<style scoped lang="scss">
	.app{display: flex;align-items: center;justify-content: center;flex-direction: column;}
</style>
